package modules

import (
	. "chess_platform/internal/common"
)

func GetPayTypeByPlatform(platform int64) int {
	if platform == PlatformH5 {
		return H5Algorithm.GetSelect()
	} else if platform == PlatformClient {
		return ClientAlgorithm.GetSelect()
	}
	return 0
}
